home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 13 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1016 b 

  1. Path: easy.in-chemnitz.de!mkmk!floh
  2. From: floh@mkmk.in-chemnitz.de (Andre Weissflog)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Convert ASCII to IEEE
  5. Message-ID: <4+3Tx*Pz0@mkmk.in-chemnitz.de>
  6. Date: Tue, 02 Jan 1996 00:38:28 CET
  7. Reply-To: floh@mkmk.in-chemnitz.de
  8. References: <1055.6574T1047T1274@mbox3.swipnet.se>
  9. Distribution: world
  10. Organization: private uucp site
  11. X-Newsreader: Arn V 1.04
  12.  
  13. In article <1055.6574T1047T1274@mbox3.swipnet.se>, Roland Bengtsson writes:
  14.  
  15. > Are there an easy way to read a stringgadget (ASCII) and then convert it to
  16. > double IEEE-format.
  17.  
  18. atof() or strtod(), both convert a C string into a double. strtod()
  19. additionally fills a pointer to the end of the number substring for
  20. further processing the string.
  21.  
  22. Both are ANSI.
  23.  
  24. Bye,
  25. -Floh.
  26.  
  27. ====//=== Andre Weissflog <floh@mkmk.in-chemnitz.de> =======
  28. ...// Sep'95: Return Of The Living Death...................
  29. \\// 90% of everything is crap (Sturgeon's Law)...........
  30. =\\===============================================Amiga!=
  31.  
  32.